动作描述
执行python脚本
语法
Action: ACS::FC::ExecuteScript
Properties:
runtime: String
handler: String
inputPayload: Json
script: String
attachment: String
属性
属性名称 | 描述 | 类型 | 是否必填 | 默认值 | 约束 |
runtime | python的版本 | String | 是 | ||
handler | python脚本函数名称 例:index.handler, index是文件名,handler是脚本函数名 | String | 是 | ||
inputPayload | 脚本的参数值 | Json | 是 | ||
script | python脚本代码 | String | 是 | ||
attachment | 指定zipFile作为zip包的base64编码内容 | String | 是 |
返回值
返回值名称 | 描述 | 类型 |
Result | String |
详情
反馈
- 本页导读 (0)
文档反馈